package chaer03;
class Student3{
    String name;
    int age;
    void read() {
        System.out.println("大家好，我是" + name + ", 年龄" + age);
    }
}
public class Example32 {
    public static void main(String[] args){
        Student stu = new Student();
        stu.name = "张三";
        stu.age = -18;
        stu.read();
}
}
